package cn.kkcxy.blog.core.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

/**
 * @BelongsProject: kkcxy-blog
 * @BelongsPackage: cn.kkcxy.blog.core.dto
 * @Author: kkcxy
 * @CreateTime: 2024-09-13 23:29
 * @Description: 分页参数DTO
 * @Version: 1.0
 */
@Data
@ToString
@Schema(description = "分页参数DTO")
public class PageParams implements Serializable {

    @Schema(description = "页码")
    private Long pageNo = 1L;

    @Schema(description = "每页数量")
    private Long pageSize = 6L;
}
